<%@ taglib uri="/WEB-INF/taglib/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/taglib/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/taglib/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/taglib/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<html:form action="/profile" method="post" styleId="register_form">
<html:hidden property="cmd" value="modifyProfile"/>

<p><label for="firstname"><bean:message key="profile.firstname" /></label>
<html:text property="firstname" /></p>

<p><label for="lastname"><bean:message key="profile.lastname" /></label>
<html:text property="lastname" /></p>

<p><bean:message key="profile.user" /></p>
<p><html:checkbox property="freelance" value="1" />
<label for="freelance"><bean:message key="profile.user.freelance" /></label></p>

<p><html:checkbox property="manager" value="1" />
<label for="manager"><bean:message key="profile.user.manager" /></label></p>

<p><label for="birthday"><bean:message key="profile.birthday" /></label>
<html:text property="birthday" /> </p>

<p><label for="email"><bean:message key="profile.email" /></label>
<html:text property="email" /></p>

<p><html:checkbox property="emailAnonyme" value="1" />
<label for="emailAnonyme"><bean:message key="profile.email_anonyme" /></label></p>

<p><label for="website"><bean:message key="profile.website" /></label>
<html:text property="website" /></p>

<p><label for="description"><bean:message key="profile.description" /></label>
<html:textarea property="description" /></p>

<p><label for="salary"><bean:message key="profile.salary" /></label>
<html:text property="salary" /> <bean:message key="profile.salary.change" /></p>

<p id="login_submit">
<html:submit><bean:message key="login.validate" /></html:submit>
</p>
</html:form>